/*
* Copyright (C) Microsoft. All rights reserved.  
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not 
* use this file except in compliance with the License.  You may obtain a copy 
* of the License at http://www.apache.org/licenses/LICENSE-2.0  
* 
* THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED 
* WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, 
* MERCHANTABLITY OR NON-INFRINGEMENT. 
*
* See the Apache License, Version 2.0 for specific language governing 
* permissions and limitations under the License.
*
*/
#pragma once

#include <baja/transition_tracking/transition_tracking_interfaces.h>

namespace baja { namespace transition_tracking {

namespace b = baja;

class generic_transition_parameters :
    public baja::transition_tracking::itransition_parameters
{
public:

    b::uint32 _transitionType;
    b::uint32 _objectType;
    b::uint32 _objectId;
    b::uint32 _objectOrder;

public:
    generic_transition_parameters(
        const b::uint32& transitionType,
        const b::uint32& childType,
        const b::uint32& childId);

    b::uint32 transitionType(void);

    void dump();
};

class transition_context
{
    std::shared_ptr<itransition_tracking_service> _trackingService;
public:
    transition_context(const std::shared_ptr<itransition_tracking_service>& trackingService);
    ~transition_context();
};

}} // baja::transition_tracking